import enchant
d=enchant.Dict("en_UK")

word=input('Çözümlemek istediğiniz metni girin: ')
letters = [chr for chr in word]
repeat_check=[]

from itertools import permutations 

for current in permutations(letters):
            current_word=''.join(current)
            if d.check(current_word) and current_word not in repeat_check:
                print(current_word)
                repeat_check.append(current_word)
